package com.top.horizon.th1804app.ui.activity;

import android.content.Intent;
import android.os.Handler;

import com.top.horizon.th1804app.R;
import com.top.horizon.th1804app.base.BaseActivity;

public class SplashActivity extends BaseActivity {
    @Override
    protected int getLayoutResource() {
        return R.layout.activity_splash;
    }

    @Override
    protected void initView() {

        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {

                startActivity(new Intent(SplashActivity.this, LoginActivity.class));
                finish();
            }
        }, 2000);
    }

    @Override
    protected void initData() {

    }
}
